/* 
 * Created on 2007-4-23
 * Last modified on 2007-4-23
 * Powered by YeQiangWei.com
 */
package com.yeqiangwei.image;

public class ImageFactory {
	
	
	public static ImageOperate creator(int i){
		ImageOperate image = null;
		switch(i){
			case 1:
				image = new ImageJpeg();
			break;
			case 2:
				image = new ImageGif();
			break;
			default:
			image = new ImageJpeg();
		}
		return image;
	}
}
